package com.xt.service;

import com.xt.bean.Section;

import java.util.List;

/**
 * Created by XT on 2018/5/4.
 */
public interface SectionService {
    void saveOrUpdateOne(Section c);

    void deleteOne(String id);

    Section getById(String id);

    List<Section> getByCourseIdAndTeacherIdAndFatherIdIsNull(String courseId, String teacherId);

    List<Section> getChilds(String fatherId);
}
